import Vue from 'vue'
import VueRouter from 'vue-router'
import HomeView from '../views/HomeView.vue'

Vue.use(VueRouter)

const routes = [

 {
   path: '/buyticket',
   name: 'buyticket',
   component: () => import('../views/BuyTicket.vue'),
 },
 {
   path: '/introduce',
   name: 'introduce',
   component: () => import('../views/Introduce.vue'),
 },

]
  


const router = new VueRouter({
  mode: 'history',
  base: process.env.BASE_URL,
  routes
})

export default router
